package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author HP
 * @version 1.0
 * @project
 * @description
 * @date 2024/4/11 16:34:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu {
    private Integer id;
    private String name;
    private String link;//子菜单的路由
    private Integer parentId;//父菜单的id
    private Integer status;//菜单的状态
    private String icon;//菜单的图标

    //放子菜单
    private List<Menu> childMenu;

}
